﻿<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台登录</title>
<style type="text/css">
<!--
.headd{ margin:0 auto; width:970px; height:112px;}
.headd1{ margin:0 auto; width:970px; height:159px;}
.content{ height:529px; background:url(${ctx}/images/login_03.jpg) #eef9ff repeat-x left top; margin:0 auto; width:970px; }
.left1{ float: left; margin-left:40px;}
.right1{ float:right;  margin-right:50px;}
-->
    <link rel="stylesheet" type="text/css" href="${ctx}/css/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${ctx}/css/themes/icon.css">
	<script type="text/javascript" src="${ctx}/scripts/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="${ctx}/scripts/jquery.easyui.min.js"></script>
</style></head>

<body style="background-color: #eef9ff;">
 <c:if test="${requestScope.result!=null&&requestScope.result!=''}" >
 <script type="text/javascript" >
     alert('${requestScope.result}');
 </script>
</c:if> 
<div class="headd1"><img src="${ctx}/images/login_02.jpg" width="970"
	height="159" /></div>
<div class="content">
<div class="left1"><img src="${ctx}/images/login_05.jpg" width="362"
	height="326" /></div>
<div class=" right1">
<div><img src="${ctx}/images/login_09.JPG" width="305" height="47"
	style="margin-bottom: 14px;" /></div>
<form action="${ctx}/system/SysUser/msgLogin.do" id="form" name="form" method="post">
<table width="307" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td width="230" align="left" valign="top">
		<div style="float: left; margin-bottom: 8px; margin-left: 12px;">
		<div
			style="background: url(${ctx}/images/bj.jpg) #ffd355 repeat-x left top; border: 1px solid #daaf59; height: 26px; line-height: 26px; width: 50px; padding-left: 10px; font-size: 12px; float: left;">用户名</div>
		<div
			style="border: 1px solid #bbbbbb; background-color: #FFF; height: 26px; width: 134px; padding-left: 10px; font-size: 12px; float: left;">
		<input name="userName" type="text" id="userName" size="16"
			style="border: none; height: 16px; padding-top: 3px; font-size: 12px; font-weight: bold;"
			border="0" /></div>
		</div>
		<div style="float: left; margin-bottom: 8px; margin-left: 12px;">
		<div
			style="background: url(${ctx}/images/bj.jpg) #ffd355 repeat-x left top; border: 1px solid #daaf59; height: 26px; line-height: 26px; width: 50px; padding-left: 10px; font-size: 12px; float: left;">密
		码</div>
		<div
			style="border: 1px solid #bbbbbb; background-color: #FFF; height: 26px; width: 134px; padding-left: 10px; font-size: 12px; float: left;">
		<input name="userPwd" type="password" id="userPwd" size="16"
			style="border: none; height: 16px; padding-top: 3px; font-size: 12px; font-weight: bold;"
			border="0" /></div>
		</div>

		<td width="77" align="center" valign="top"><a href="#" onclick="javascript:document.getElementById('form').submit();"><img
			src="${ctx}/images/login_12.jpg" width="59" height="63" border="0" /></a></td>
	</tr>
</table>
</form>
  <c:if test="${sessionScope.username!=null&&sessionScope.username!=''&&sessionScope.password!=null&&sessionScope.password!=''}" >
 <script type="text/javascript" >
     
     document.getElementById("userName").value='${sessionScope.username}';
     document.getElementById("userPwd").value='${sessionScope.password}'; 
     document.getElementById("form").submit();
      
 </script>
 </c:if> 
</div>
</div>
</body>
</html>
